package org.csu.onlineedubackend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("lesson_progress")
public class LessonProgress {
    @TableId(type = IdType.AUTO)
    private Integer id;

    
    @TableField("student_id")
    private Integer studentId;
    
    @TableField("lesson_id")
    private Integer lessonId;
    
    @TableField("progress")
    private Float progress;
    
    @TableField("last_watch")
    private LocalDateTime lastWatch;
}
